package com.lbt.javaSE.jianzhioffer;

public class JZ10 {
    public int RectCover(int target) {
        if(target<=2) return target;
        int per1=2;
        int per2=1;
        for(int i=3;i<=target;i++){
            int cur=per1+per2;
            per2=per1;
            per1=cur;
        }
        return per1;
    }
}
